GtkTreeView: port to PixelCache
authorAlexander Larsson <alexl@redhat.com>
Tue, 30 Apr 2013 19:34:22 +0000 (21:34 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 7 May 2013 14:34:05 +0000 (16:34 +0200)
commitcad751c76245c57ea803c166af437d3a32966288
treec9add0f4bdfb905317441723b04ce1e3ec108123
parent2df27ce7f801da92e64ed966d96c47e3f5d190e7
GtkTreeView: port to PixelCache

We register an invalidate handler on the bin window to get told
of child widget invalidations, although we manually need to discard
invalidates from the scroll operation.

Additionally we invalidate all of the pixel cache whenever
the TreeView itself is queue_draw()n to handle e.g. style (bg)
changes, or changes due to model changes causing queue_draw() in
the tree view.
gtk/gtktreeview.c